package com.hfut.ccs.biz;

import com.hfut.ccs.entity.CustomerService;

import java.util.List;
import java.util.Map;

public interface ICustomerServiceBiz {
    int save(CustomerService cs);
    int register(CustomerService cs);
    CustomerService login(String account, String password);
    int updateCustomerService(CustomerService cs);
    int resetPassword(int id, String password);
    int resetPassword(int id, String oldPwd, String newPwd);
    int delete(int id);
    int delete(List<Integer> ids);
    //查询客服
    List<CustomerService> queryListByPage(Map<String, String> params);
    int updateWorkStatus(int id, int workStatus);
    int updateOnlineStatus(int id, int onlineStatus);
    int updateCustomerServiceByMaster(CustomerService cs);
    CustomerService queryById(int id);
}
